﻿#region Copyright(C) 2018 FI Ltd. All rights reserved.
// ==================================================================================================
// Copyright(C) 2018 FI Ltd. All rights reserved.
//
// SYSTEM NAME	    : FI.Net Application Framework
// COMPONENT ID	    : FI.Core
// COMPONENT DESC   : FI.Net Core Foundation
//
// CREATED DATE/BY  : 18 Aug 2018 / Tian Mi
//
// REVISION HISTORY :	
// DATE/BY			SR#/CS/PM#/OTHERS		DESCRIPTION OF CHANGE
// ==================================================================================================
#endregion


namespace FI.Core
{
    /// <summary>
    /// All message resolver classes to format template and generate a complete message must implement this interface.
    /// </summary>
    public interface IMessageResolver
    {
        /// <summary>
        /// Format the raw tempalte and generate a complete message.
        /// </summary>
        /// <param name="args">The args to replace the placeholders.</param>
        /// <returns>The formatted message.</returns>
        string GetMessage(params object[] args);
    }
}
